package com.eve.springcloud.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import com.eve.springcloud.common.Jsons;

/**
 * 业务接口 20200708
 * 测试feign
 * @author HXL
 *
 */
@FeignClient(value = "nacos-order", fallback = PaymentFallbackService.class)
public interface PaymentService {
	
	@GetMapping(value = "/fallback1/{id}")
	public Jsons paymentSql(@PathVariable("id") Long id);
}
